{include file="public/header" /}
<body class="bgc">
<div class="header">
    <i class="layui-icon layui-icon-left" onclick="load_href('{:url(\'user/index\')}',2)"></i> 留言反馈
    <a href="{:url('message/add')}">我要反馈</a>
</div>
<ul class="complaint-list tpl_list"></ul>
</body>
{include file="public/footer" /}
<script id="template" type="text/html">
    {{# for(var i = 0; i < d.data.length; i++) { }}
    <li>
        <p class="flex-layout">反馈时间：{{d.data[i].create_time}}</p>
        <div class="content">{{d.data[i].content}}</div>
        {{# if (d.data[i].images) { }}
        <ul class="complaint-imgs">
            <li>
                <img src="{{d.data[i].images}}" alt="">
            </li>
        </ul>
        {{# } }}
        {{# if (d.data[i].rcomment) { }}
        <div class="reply">
            <p>平台回复：</p>
            <div>{{d.data[i].rcomment}}</div>
        </div>
        {{# } }}
    </li>
    {{# } }}
</script>
<script>
    $(function () {
        getFlow('', "{:url('message/getList')}");
    });
</script>
</html>